import { get } from '@/utils/request.js'

//获取-全部分类(包含推荐商品)
export const getHomeCategory = () => {
  return get('/home/category/head',{})
}

//获取-二级分类列表
export const getCategory = (id) => {
  return get('/category',{id})
}
